package com.sk.bilibili.mapper;

import com.sk.api.annotations.Mapper;
import com.sk.bilibili.bean.Banner;
import com.sk.bilibili.bean.Goods;
import com.sk.bilibili.dto.Page;
import com.sk.bilibili.dto.Res;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

@Mapper
public interface GoodsMapper {

    @GET("goods/page")
    Observable<Res<Page<Goods>>> page(@Query("page") Integer page, @Query("magic") Boolean magic);

}